package com.zy.studentSide.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zy.studentSide.entity.Student;

/**
 * @author qu
 */
public interface IStudentService extends IService<Student> {
    /**
     * 根据学生的编号和密码进行查询
     * @param studentNum
     * @param studentPassword
     * @return Student
     */
    Student studentLogin(String studentNum,String studentPassword);

    /**
     * 根据学号查重
     * @param studentNum
     * @return Student
     */
    Student getStudentById(String studentNum);

    /**
     * 根据学生id查重
     * @param studentId
     * @return Student
     */
    Student getStudentByStudentId(Integer studentId);
}
